package com.neusoft.springboot03.controller;

import com.neusoft.springboot03.domain.Stu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StuController {

    @Autowired
    private Stu stu;

    @GetMapping("/hello.do")
    public Stu GetStuOBj()
    {
       return stu;
    }
}
